package com.bobi.tfca.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 群实体
 * @author 李文发
 * @date 2024/4/2
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bobi_group")
public class GroupEntity {

    @TableId
    @ApiModelProperty(value = "群id")
    // 群id
    private Integer groupId;
    @ApiModelProperty(value = "群名称")
    // 群名称
    private String groupName;
    @ApiModelProperty(value = "群主id")
    // 群主id
    private Integer ownerId;
    @ApiModelProperty(value = "群人数")
    // 群人数
    private Integer groupNum;
    // 群头像
    private String groupHead;
}
